<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MNN: include/ErrorCode.hpp 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MNN
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ErrorCode.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_error_code_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//  ErrorCode.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//  MNN</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  Created by MNN on 2018/09/18.</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//  Copyright © 2018, Alibaba Group Holding Limited</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#ifndef ErrorCode_h</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#define ErrorCode_h</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_m_n_n.html">MNN</a> {</div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241">   13</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241">ErrorCode</a> {</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241af77071382936103b2ce604f48286e710">   14</a></span>&#160;    <a class="code" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241af77071382936103b2ce604f48286e710">NO_ERROR</a>           = 0,</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241a83752d92de56b952329d5c1fbf0e8ad9">   15</a></span>&#160;    <a class="code" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241a83752d92de56b952329d5c1fbf0e8ad9">OUT_OF_MEMORY</a>      = 1,</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241af01e441397559aef5f1b080bf16c0b98">   16</a></span>&#160;    <a class="code" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241af01e441397559aef5f1b080bf16c0b98">NOT_SUPPORT</a>        = 2,</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241add563f85bcf70a2512d9a8f56f361c59">   17</a></span>&#160;    <a class="code" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241add563f85bcf70a2512d9a8f56f361c59">COMPUTE_SIZE_ERROR</a> = 3,</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241ab4b96d5a5e3494a8e00d665addca49ac">   18</a></span>&#160;    <a class="code" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241ab4b96d5a5e3494a8e00d665addca49ac">NO_EXECUTION</a>       = 4,</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    <span class="comment">// User error</span></div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241a0a9209204f5f01334d2afe8777d64786">   21</a></span>&#160;    <a class="code" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241a0a9209204f5f01334d2afe8777d64786">INPUT_DATA_ERROR</a> = 10,</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241a0e0d40729d63b83d7a460e0a7f0a5d62">   22</a></span>&#160;    <a class="code" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241a0e0d40729d63b83d7a460e0a7f0a5d62">CALL_BACK_STOP</a>   = 11,</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="comment">// Op Resize Error</span></div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241a60adf62a53963165153d60d8bc8a46ce">   25</a></span>&#160;    <a class="code" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241a60adf62a53963165153d60d8bc8a46ce">TENSOR_NOT_SUPPORT</a> = 20,</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241ae8f0847bdf31340b61e3ff496c700f1d">   26</a></span>&#160;    <a class="code" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241ae8f0847bdf31340b61e3ff496c700f1d">TENSOR_NEED_DIVIDE</a> = 21,</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;};</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;}</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* ErrorCode_h */</span><span class="preprocessor"></span></div><div class="ttc" id="namespace_m_n_n_html_a6814f7688a6a1ba4245f3ec5f4773241ae8f0847bdf31340b61e3ff496c700f1d"><div class="ttname"><a href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241ae8f0847bdf31340b61e3ff496c700f1d">MNN::TENSOR_NEED_DIVIDE</a></div><div class="ttdef"><b>Definition:</b> ErrorCode.hpp:26</div></div>
<div class="ttc" id="namespace_m_n_n_html_a6814f7688a6a1ba4245f3ec5f4773241a60adf62a53963165153d60d8bc8a46ce"><div class="ttname"><a href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241a60adf62a53963165153d60d8bc8a46ce">MNN::TENSOR_NOT_SUPPORT</a></div><div class="ttdef"><b>Definition:</b> ErrorCode.hpp:25</div></div>
<div class="ttc" id="namespace_m_n_n_html_a6814f7688a6a1ba4245f3ec5f4773241ab4b96d5a5e3494a8e00d665addca49ac"><div class="ttname"><a href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241ab4b96d5a5e3494a8e00d665addca49ac">MNN::NO_EXECUTION</a></div><div class="ttdef"><b>Definition:</b> ErrorCode.hpp:18</div></div>
<div class="ttc" id="namespace_m_n_n_html_a6814f7688a6a1ba4245f3ec5f4773241a0e0d40729d63b83d7a460e0a7f0a5d62"><div class="ttname"><a href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241a0e0d40729d63b83d7a460e0a7f0a5d62">MNN::CALL_BACK_STOP</a></div><div class="ttdef"><b>Definition:</b> ErrorCode.hpp:22</div></div>
<div class="ttc" id="namespace_m_n_n_html_a6814f7688a6a1ba4245f3ec5f4773241add563f85bcf70a2512d9a8f56f361c59"><div class="ttname"><a href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241add563f85bcf70a2512d9a8f56f361c59">MNN::COMPUTE_SIZE_ERROR</a></div><div class="ttdef"><b>Definition:</b> ErrorCode.hpp:17</div></div>
<div class="ttc" id="namespace_m_n_n_html_a6814f7688a6a1ba4245f3ec5f4773241a83752d92de56b952329d5c1fbf0e8ad9"><div class="ttname"><a href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241a83752d92de56b952329d5c1fbf0e8ad9">MNN::OUT_OF_MEMORY</a></div><div class="ttdef"><b>Definition:</b> ErrorCode.hpp:15</div></div>
<div class="ttc" id="namespace_m_n_n_html"><div class="ttname"><a href="namespace_m_n_n.html">MNN</a></div><div class="ttdef"><b>Definition:</b> AutoTime.hpp:16</div></div>
<div class="ttc" id="namespace_m_n_n_html_a6814f7688a6a1ba4245f3ec5f4773241af01e441397559aef5f1b080bf16c0b98"><div class="ttname"><a href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241af01e441397559aef5f1b080bf16c0b98">MNN::NOT_SUPPORT</a></div><div class="ttdef"><b>Definition:</b> ErrorCode.hpp:16</div></div>
<div class="ttc" id="namespace_m_n_n_html_a6814f7688a6a1ba4245f3ec5f4773241af77071382936103b2ce604f48286e710"><div class="ttname"><a href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241af77071382936103b2ce604f48286e710">MNN::NO_ERROR</a></div><div class="ttdef"><b>Definition:</b> ErrorCode.hpp:14</div></div>
<div class="ttc" id="namespace_m_n_n_html_a6814f7688a6a1ba4245f3ec5f4773241a0a9209204f5f01334d2afe8777d64786"><div class="ttname"><a href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241a0a9209204f5f01334d2afe8777d64786">MNN::INPUT_DATA_ERROR</a></div><div class="ttdef"><b>Definition:</b> ErrorCode.hpp:21</div></div>
<div class="ttc" id="namespace_m_n_n_html_a6814f7688a6a1ba4245f3ec5f4773241"><div class="ttname"><a href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241">MNN::ErrorCode</a></div><div class="ttdeci">ErrorCode</div><div class="ttdef"><b>Definition:</b> ErrorCode.hpp:13</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
